import request from '@/utils/request';

// 用户注销列表
export function getCancelListApi(query) {
  return request({
    baseURL: process.env.LIFE_ADMIN_API,
    url: '/member/cancel_account/list',
    method: 'get',
    params: query
  });
}

// 用户注销审核
export function updateCancelStateApi(query) {
  return request({
    baseURL: process.env.LIFE_ADMIN_API,
    url: '/member/cancel_account/update_state',
    method: 'post',
    data: query
  });
}
